package com.bird.设计模式.结构型.装饰者模式.v2;

/**
 * @data 2022/3/14 17:41
 * @author: bird
 * @description: 装饰者模式角色二: 煎饼类(实体类)
 * 具体构件
 */
public class BatteryCake extends AbstractBatteryCake {

    @Override
    protected String getDesc() {
        return "煎饼";
    }

    @Override
    protected int cost() {
        return 8;
    }
}
